using System;
using System.Collections.Generic;
using System.Text;

namespace DDW
{
	public class InterfaceEventNode : MemberNode
	{
		public override void ToSource(StringBuilder sb)
		{
			if (attributes != null)
			{
				attributes.ToSource(sb);
				this.NewLine(sb);
			}
			this.TraceModifiers(this.Modifiers, sb);

			sb.Append("event ");
			this.type.ToSource(sb);

			sb.Append(" ");
			this.names[0].ToSource(sb);

			sb.Append(";");
		}
	}
}
